package com.service;

import java.util.List;

public interface Service {
	
	public Boolean isLogin(String account,String password);
	public void insert(Object obj);
	public void delete(Object obj);
	public void update(Object obj);


	public int getRows(String hql);

	public List<?> getObjects(String hql); 
	public Object getObject(Object obj, int id); 

	
}
